package com.bxait.toymail.product.feign;

import com.bxait.com.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/*
@description:
@ClassName SecKillFeignService
@author Chen
@create 2023-05-04 12:40
@Version 1.0
*/
@FeignClient("toymail-seckill")
public interface SecKillFeignService {
    @GetMapping("/sku/secKill/{skuId}")
    R getSkuSecKillInfo(@PathVariable("skuId") Long skuId);
}
